package temp;

import java.util.HashSet;
import java.util.Set;

public class ReportingWords {
	public static Set<String> reportingWords(){
		
		String words0="accuse accusing accuses accused admit admitting admits admitted agree agrees agreed announce announcing announces announced answer answering answers answered argue arguing argues argued ask asking asks asked beg begging begs begged claim claiming claims claimed complain complaining complains complained confirm confriming confirms confirmed consider considering considers considered ";
		String words1="demand demanding demands demanded deny denying denies denied doubt doubting doubts doubted explain explaining explains explained insist insisting insists insisted mention mentioning mentions mentioned promise promising promises promised propse proposing proposes proposed recommend recommending recommends recommended ";
		String words2="reply replying replies replied report reporint reports reported respond responding responds responded say saying says said state stating states stated suggest suggesting suggests suggested suppose supposing supposes supposed swear swearing swears sweared ";
		String words3= "tell telling tells told warn warning warning warns warned ";
		
		
		String words = words0+words1+words2+words3;
		String [] ss = words.split(" ");
		HashSet<String> set = new HashSet<String>();
		for(String s:ss){
			if( !s.equals("")&&!s.equals(" ")){
				set.add(s);
			}
		}
		return set;
	}
	
	public static void main(String[] args){
		Set<String> set= ReportingWords.reportingWords();
		System.out.println(set);
		
		String a= "sd d  e as ";
		System.out.println(a.split(" ").length);
	}
    
}
